public class TestArgs1 {
    public static void main(String [] args) {
        int sum = 0;
        int [] arr = new int[args.length];
      
        for(int i = 0; i < args.length ; i++) {
            arr[i]=Integer.parseInt(args[i]);
        }
        sum = clSum(arr);
        // 鎵撳嵃
        System.out.println("20155315");
        System.out.println(sum);
    }

    public static int  clSum(int [] arr) {
        if(arr.length==1) return arr[0];
        else {
            int[] arr1 = new int[arr.length-1];
            for(int i = 0 ; i < arr.length-1;i++) {
                arr1[i]=arr[i];
            }
            return clSum(arr1) +arr[arr.length-1];
        }
    }
}

